package xyz.moxj.sp09.feign;

import org.springframework.stereotype.Component;
import xyz.moxj.sp01.pojo.User;
import xyz.moxj.sp01.util.JsonResult;

@Component
public class UserClientFB implements UserClient{
    @Override
    public JsonResult<User> getUser(Integer userId) {
        return JsonResult.err().msg("获取用户失败");
    }

    @Override
    public JsonResult addScore(Integer userId, Integer score) {
        return JsonResult.err().msg("添加积分失败");
    }
}
